package com.company.createtype.abstractFactory;

import com.company.Product;
import com.company.createtype.factoryfunction.IMethodFactory;

public class CarWhileFactory implements IMethodFactory {
    public static class CarWhile extends Product{

    }

    @Override
    public Product create() {
        return new CarWhile();
    }
}
